package com.zhanghu.backendZray.pojo.dto;

import com.zhanghu.backendZray.pojo.entity.Menu;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author ZhangDong
 * @date 2024/7/20 11:50
 */
@Getter
@Setter
@NoArgsConstructor
public class MenuDTO {

    /**
     * 菜单英文名称
     */
    private String enName;

    public MenuDTO(Menu menu) {
        this.enName = menu.getEnName();
    }
}
